package com.minova.demo.mapper;

import com.minova.demo.entity.TzBasket;
import com.minova.demo.entity.TzSku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 单品SKU表 Mapper 接口
 * </p>
 *
 * @author linrongji
 * @since 2019-12-23
 */
public interface TzSkuMapper extends BaseMapper<TzSku> {

	void updateSkuActualStocks(TzBasket basket);

	void skuStocksAdd(Long skuId);

	void skuStocksDecrease(Long skuId);

	void updateSkuStock(TzBasket baskets);

}
